home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
chkflp.exe
/
README.FLP
< prev
Wrap
Text File
|
1991-12-05
|
2KB
|
38 lines
Hello there!
This file contains the .asm & .c source files for the executable
callcflp.exe. It is a program I created by modifying the Nantucket Forum
Clipper source code (FT_FLOPTST.ASM) and pulling out the Clipper references.
The asm module is now callable from a 'c' program (preferable MS 'c').
The executable is standalone, and is useful for determining floppy drive
status in batch files.
Even if the target floppy is not ready, it will not cause a problem as it
temporarily intercepts the DOS critical error handler and then sets DOS's
ERRORLEVEL flag based on the condition of the target floppy drive as follows:
0 - Drive Loaded and ready to read or write
1 - Drive Door Open or Diskette inserted upside down
2 - Diskette is unformatted
3 - Write protected
4 - Undetermined problem
Arguments to callcflp.exe are A or B, case insensitive, : not necessary.
Please note:
I am not taking credit for this program, only the conversion to a 'c'
callable module and the (MUCH) smaller (NO CLIPPER) executable. The original
author is Joseph LaCour with acknoledgements to PAOLO RAMOZZI. In addition,
I would like to greatfully acknoledge the help of Vic Caroncino for his
indispensible help in understanding the Clipper code and requesting this
little Gem in the first place.
Enjoy;
Please send any comments or questions to me at
Kevin Traub
9100 Easy St.
Owings, MD 20736-9576
Or on CompuServe @ 70744,1563
This program is again donated to the public domain.